<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

defined('_JEXEC') or die();

jimport('joomla.application.component.view');

class CprojectViewSection extends JView{
    
    protected $items;
    protected $pagination;
    function display($tpl = null) {
        
        $this->items = $this->get('Items');
        $this->pagination = $this->get('Pagination');
         // Check for errors.
        if (count($errors = $this->get('Errors'))) {
            JError::raiseError(500, implode('<br />', $errors));
            return false;
        }
    //    $this->setDocument();
        
        parent::display($tpl);
    }
}
?>
